﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RaisingStudio.Common.Web
{
    public class HttpUtility
    {
        public static string HtmlEncode(string s)
        {
#if !(PocketPC || Smartphone || WindowsCE)
            return System.Web.HttpUtility.HtmlEncode(s);
#else
            // TODO: HtmlEncode
            return s;
#endif
        }

        public static string HtmlDecode(string s)
        {
#if !(PocketPC || Smartphone || WindowsCE)
            return System.Web.HttpUtility.HtmlDecode(s);
#else
            // TODO: HtmlDecode
            return s;
#endif
        }
    }
}
